/**
 * Genarator by KKDGen v<?php echo $version."\n";?>
 * @author KKDeveloeper
 * @email Dixonsatit@gmail.com
 * @link www.ikkdev.com,www.kkdeveloper.com
 <?php  echo empty($nameSpace)?'':'* Namespace : '.$nameSpace."\n"; ?>
 * ExtjsStore : <?php echo $modelClass."\n";?>
 */

Ext.define('<?php echo empty ($nameSpace)? $modelClass:$nameSpace.'.store.'.$modelClass; ?>', {
    extend: 'Ext.data.Store',
    model: '<?php echo empty ($nameSpace)? $modelClass:$nameSpace.'.model.'.$modelClass; ?>',
    pageSize: 50,
    autoLoad: true,
    autoSync: true,       
    listeners: {
        write: function(proxy, operation)
        {
            console.log('Action : '+operation.action+' | Message : '+operation.resultSet.message);
         /*    Ext.MessageBox.show({
                        title:operation.action,
                        msg: operation.resultSet.message,
                        icon: Ext.MessageBox.ERROR,
                        buttons: Ext.Msg.OK
                    });*/
        }
    }
});
